@font-face {
    font-family: CaslonIonic-Regular;
    font-weight: 700;
    src: url(./asset/font/CaslonIonic-Regular.otf) format("truetype");
    text-rendering: optimizeLegibility;
}

* {
    padding: 0;
    margin: 0;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    background-color: rgb(235, 236, 240);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    font-family: CaslonIonic-Regular;
    .left-img {
        width: 40%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10%;
    }
    .round {
        width: 500px;
        height: 500px;
        background-color: #fff;
        border-radius: 50%;
        position: absolute;
        left: 40%;
        top: -350px;
        transform: translateX(-40%);
        &::after {
            content: "";
            display: block;
            border: 1px solid rgb(194, 205, 216);
            width: 500px;
            height: 500px;
            border-radius: 50%;
            position: absolute;
            left: 30%;
        }
    }
    .name {
        position: absolute;
        left: 30px;
        top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            margin-right: 20px;
        }
        span {
            font-size: 30px;
            font-weight: 900;
        }
    }
    .introduce {
        position: absolute;
        bottom: 20px;
        left: 30px;
        display: flex;
        flex-direction: column;
        .nav {
            ul {
                li {
                    float: left;
                    margin-right: 20px;
                    list-style: none;
                    font-size: 30px;
                    cursor: pointer;
                    transition: 0.3s;
                    &:hover {
                        color: rgb(87, 59, 255);
                    }
                }
            }
        }
    }
    .form-wrapper {
        width: 400px;
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        border: 0;
        border-radius: 10px;
        padding: 50px 60px;
        // transition: 1s;
        .tips {
            display: block;
            margin: 20px 0;
            .tips-span {
                color: rgb(87, 59, 255);
                margin: 10px;
                cursor: pointer;
            }
        }
        .other-login {
            width: 100%;
            display: flex;
            margin: 10px 0;
            .other-login-item {
                height: 40px;
                flex: 1;
                border: 1px solid rgb(194, 205, 216);
                border-radius: 10px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                transition: 0.3s;
                &:nth-child(1) {
                    margin-right: 10px;
                }
                &:nth-child(2) {
                    margin-left: 10px;
                }
                &:hover {
                    border: 1px solid rgb(87, 59, 255);
                }
                .other-login-svg {
                    width: 30px;
                    height: 30px;
                    margin-right: 5px;
                }
            }
        }
        .diliver {
            width: 100%;
            margin: 10px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            span {
                display: inline-block;
                margin: 0 40px;
            }
            &::before {
                content: "";
                display: block;
                width: 100%;
                height: 1px;
                background-color: rgb(194, 205, 216);
            }
            &::after {
                content: "";
                display: block;
                width: 100%;
                height: 1px;
                background-color: rgb(194, 205, 216);
            }
        }
        .form-input {
            width: 100%;
            margin: 10px 0;
            .form-input-item {
                width: 100%;
                margin-bottom: 10px;
                position: relative;
                p {
                    font-size: 16px;
                    font-weight: 900;
                    margin-bottom: 5px;
                }
                .ipt {
                    width: 100%;
                    height: 45px;
                    border-radius: 10px;
                    border: 1px solid rgb(194, 205, 216);
                    padding: 15px 100px 15px 50px;
                    box-sizing: border-box;
                    margin-bottom: 5px 0;
                    outline: none;
                    font-size: 20px;
                    transition: 0.3s;
                    &:hover {
                        border: 1px solid rgb(87, 59, 255);
                    }
                    &:hover ~ .ipt-svg {
                        fill: rgb(87, 59, 255);
                    }
                    &:focus {
                        border: 1px solid rgb(87, 59, 255);
                    }
                    &:focus ~ .ipt-svg {
                        fill: rgb(87, 59, 255);
                    }
                }
                .ipt-svg {
                    position: absolute;
                    width: 25px;
                    height: 25px;
                    left: 10px;
                    top: 50%;
                    fill: #707070;
                    transition: 0.3s;
                }
                .veri-code-tips {
                    position: absolute;
                    right: 10px;
                    bottom: 10px;
                    cursor: pointer;
                    color: rgb(87, 59, 255);
                }
            }
            .btn {
                width: 100%;
                height: 50px;
                background-color: #000;
                color: #fff;
                border-radius: 10px;
                border: 0;
                margin: 10px 0;
                font-size: 20px;
                cursor: pointer;
                font-family: CaslonIonic-Regular;
            }
        }
        .forgot-pwd {
            width: 100%;
            text-align: center;
            color: rgb(87, 59, 255);
            margin: 10px 0;
            cursor: pointer;
        }
        .login-form {
            width: 100%;
            display: block;
        }
        .regite-form {
            width: 100%;
            display: none;
        }
        .forgot-pwd-form {
            width: 100%;
            display: none;
        }
    }
}

.rotate-vert-center {
    animation: rotate-vert-center 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

@keyframes rotate-vert-center {
    0% {
        transform: translateY(-50%) rotate(0);
    }
    0% {
        transform: translateY(-50%) rotate(360deg);
    }
}
